package com.wyl.auth.excel;

import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.format.DateTimeFormat;
import cn.idev.excel.converters.date.DateDateConverter;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wyl.auth.excel.converter.LocalDateTimeLocalDateTimeConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Description
 * @Author WuYiLong
 * @Date 2025/3/30 21:15
 */
@Data
public class SysUserExport {
    @ExcelProperty(value = "用户名")
    private String username;

    @ExcelProperty(value = "手机号")
    private String phone;

    @ExcelProperty(value = "邮箱")
    private String email;

    @ExcelProperty(value = "创建时间",converter = LocalDateTimeLocalDateTimeConverter.class)
    private LocalDateTime createTime;

    @ExcelProperty(value = "更新时间",converter = LocalDateTimeLocalDateTimeConverter.class)
    private LocalDateTime updateTime;
}